package com.briup.product_source.dao;

import com.briup.product_source.pojo.QuarantineRegistration;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface QuarantineRegistrationMapper {

    int insert(QuarantineRegistration qr);

    int updateByPk(QuarantineRegistration qr);

    List<QuarantineRegistration> selectAllUnquarantined(@Param("grMechanism") String grMechanism,
                                                        @Param("bQualified")String bQualified);

    QuarantineRegistration selectByPk(Integer id);

    int deleteById(Integer id);

    void deleteByChoice(List<Integer> ids);

}